package org.springframework.data.jpa.repository.query;

import java.util.Map;

/**
 * @author klaus.wang
 */
public class QueryAndParams {

	private DeclaredQuery query;
	private Map<String, Object> params;

	public QueryAndParams(DeclaredQuery query, Map<String, Object> params) {
		this.query = query;
		this.params = params;
	}

	public DeclaredQuery getQuery() {
		return query;
	}

	public void setQuery(DeclaredQuery query) {
		this.query = query;
	}

	public Map<String, Object> getParams() {
		return params;
	}

	public void setParams(Map<String, Object> params) {
		this.params = params;
	}
}
